Enum AcceptMode

java.lang.Object
java.lang.Enum<AcceptMode>
com.cisco.pt.ipc.enums.AcceptMode
All Implemented Interfaces:
Serializable, Comparable<AcceptMode>, Constable

public enum AcceptMode extends Enum<AcceptMode>
An enum for the IPC's AcceptMode values
Author:
packettracerexapps@external.cisco.com
  • Enum Constant Details

    • ALWAYS_ACCEPT

      public static final AcceptMode ALWAYS_ACCEPT
    • ALWAYS_DENY

      public static final AcceptMode ALWAYS_DENY
    • PROMPT

      public static final AcceptMode PROMPT
  • Field Details

    • intValue

      protected int intValue
  • Method Details

    • values

      public static AcceptMode[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static AcceptMode valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getIntValue

      public int getIntValue()
    • fromIntValue

      public static AcceptMode fromIntValue(int value)
    • fromIntValue

      public static AcceptMode fromIntValue(Integer value)